package com.net.wanjian.networkhospitalmanager.utils;

import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;

/**
 * Description:
 * Created by lidongcai on 17/5/9.
 * Email:  lidongcaiocc@163.com
 */

public class URLDecoderUtil {

    public static String getDecoder(String s){
        if (null == s || s .equals(""))return "";

        String s1 = "";
        try {
            s1 = URLDecoder.decode(s, "UTF-8");
        } catch (UnsupportedEncodingException e) {
            e.printStackTrace();
        }
        return s1;
    }
}
